Skip to content

Support without distutils#2146

Merged
gaborbernat merged 4 commits intopypa:mainfrom
gaborbernat:main
Jul 14, 2021
Merged

Support without distutils#2146
gaborbernat merged 4 commits intopypa:mainfrom
gaborbernat:main

Conversation

@gaborbernat
Copy link
Contributor

Signed-off-by: Bernát Gábor bgabor8@bloomberg.net

@codecov
Copy link

codecov bot commented Jul 13, 2021

Codecov Report

Merging #2146 (83f615e) into main (0705f20) will decrease coverage by 0.09%.
The diff coverage is 76.19%.

❗ Current head 83f615e differs from pull request most recent head b8d7ffb. Consider uploading reports for the commit b8d7ffb to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2146      +/-   ##
==========================================
- Coverage   93.64%   93.54%   -0.10%     
==========================================
  Files          88       88              
  Lines        4358     4371      +13     
==========================================
+ Hits         4081     4089       +8     
- Misses        277      282       +5     
Flag Coverage Δ
tests 93.54% <76.19%> (-0.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/virtualenv/discovery/py_info.py 93.51% <68.75%> (-1.28%) ⬇️
src/virtualenv/create/describe.py 100.00% <100.00%> (ø)
.../create/via_global_ref/builtin/cpython/cpython2.py 98.50% <100.00%> (ø)
...ualenv/create/via_global_ref/builtin/pypy/pypy2.py 98.70% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0705f20...b8d7ffb. Read the comment docs.

gaborbernat and others added 2 commits July 14, 2021 10:09
Signed-off-by: Bernát Gábor <gaborjbernat@gmail.com>
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
@gaborbernat gaborbernat changed the title Add 3.10 to the CI Distutils Jul 14, 2021
@gaborbernat gaborbernat changed the title Distutils Support without distutils Jul 14, 2021
@gaborbernat
Copy link
Contributor Author

Resolves #1910.

Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
@gaborbernat gaborbernat merged commit c52fe3e into pypa:main Jul 14, 2021
name = name.upper()
exe_name = "{}{}{}".format(name, current.version_info.major, ".exe" if sys.platform == "win32" else "")
target = tmp_path / current.distutils_install["scripts"]
target = tmp_path / current.install_path("scripts")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we test both execution flows paths of install_path?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean?

gdubicki pushed a commit to gdubicki/virtualenv that referenced this pull request Sep 18, 2021
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants